package com.probiz.estore.product.model;

import java.math.BigDecimal;


public class ProductReviewSearchCriteria {
	public static final short SCORE_SPAN_1 = (short)1; //1星 0-2分(不含)
	public static final short SCORE_SPAN_2 = (short)2; //2星 2-3分(不含)
	public static final short SCORE_SPAN_3 = (short)3; //3星 3-4分(不含)
	public static final short SCORE_SPAN_4 = (short)4; //4星 4-5分(不含)
	public static final short SCORE_SPAN_5 = (short)5; //5星 5分
	
	public static final short SCORE_LEVEL_GOOD = (short)1; //好评 4-5分(含)
	public static final short SCORE_LEVEL_MID = (short)0; //中评 3-4分(不含)
	public static final short SCORE_LEVEL_BAD = (short)-1; //差评 0-3分(不含)
	
	private Integer parentId;  //该属性非常重要，分别用于评论列表和针对某条评论的回复列表,为空表示评论列表，否则为回复列表
	private Integer productId;
	private String keywords;
	private String productCode;
	private String reviewUserName;
	private String subject;
	private String message;
	private Short status;
	private Integer sortOrder;
	private Short isRead;
	private BigDecimal lowestScore; //最低评分
	private BigDecimal highestScore; //最高评分
	private Short orderby; //排序
	private Short scoreSpan ; //分数段
	private Short scoreLevel ; //好中差评
	
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	public String getReviewUserName() {
		return reviewUserName;
	}
	public void setReviewUserName(String reviewUserName) {
		this.reviewUserName = reviewUserName;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Short getStatus() {
		return status;
	}
	public void setStatus(Short status) {
		this.status = status;
	}
	public Integer getSortOrder() {
		return sortOrder;
	}
	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}
	public Short getIsRead() {
		return isRead;
	}
	public void setIsRead(Short isRead) {
		this.isRead = isRead;
	}
	public BigDecimal getLowestScore() {
		return lowestScore;
	}
	public void setLowestScore(BigDecimal lowestScore) {
		this.lowestScore = lowestScore;
	}
	public BigDecimal getHighestScore() {
		return highestScore;
	}
	public void setHighestScore(BigDecimal highestScore) {
		this.highestScore = highestScore;
	}
	public Short getOrderby() {
		return orderby;
	}
	public void setOrderby(Short orderby) {
		this.orderby = orderby;
	}
	public Short getScoreSpan() {
		return scoreSpan;
	}
	public void setScoreSpan(Short scoreSpan) {
		this.scoreSpan = scoreSpan;
	}
	public Short getScoreLevel() {
		return scoreLevel;
	}
	public void setScoreLevel(Short scoreLevel) {
		this.scoreLevel = scoreLevel;
	}
}
